3.138 \(\int (b x+c x^2) (e+f x^4)^2 \, dx\)

Optimal. Leaf size=65 \[ \frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10}+\frac{1}{3} c e^2 x^3+\frac{2}{7} c e f x^7+\frac{1}{11} c f^2 x^{11} \]

[Out]

(b*e^2*x^2)/2 + (c*e^2*x^3)/3 + (b*e*f*x^6)/3 + (2*c*e*f*x^7)/7 + (b*f^2*x^10)/10 + (c*f^2*x^11)/11

________________________________________________________________________________________

Rubi [A]  time = 0.0975165, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {1593, 1620} \[ \frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10}+\frac{1}{3} c e^2 x^3+\frac{2}{7} c e f x^7+\frac{1}{11} c f^2 x^{11} \]

Antiderivative was successfully verified.

[In]

Int[(b*x + c*x^2)*(e + f*x^4)^2,x]

[Out]

(b*e^2*x^2)/2 + (c*e^2*x^3)/3 + (b*e*f*x^6)/3 + (2*c*e*f*x^7)/7 + (b*f^2*x^10)/10 + (c*f^2*x^11)/11

Rule 1593

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rule 1620

Int[(Px_)*((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[Px*(a + b*x)
^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && PolyQ[Px, x] && (IntegersQ[m, n] || IGtQ[m, -2]) &&
GtQ[Expon[Px, x], 2]

Rubi steps

\begin{align*} \int \left (b x+c x^2\right ) \left (e+f x^4\right )^2 \, dx &=\int x (b+c x) \left (e+f x^4\right )^2 \, dx\\ &=\int \left (b e^2 x+c e^2 x^2+2 b e f x^5+2 c e f x^6+b f^2 x^9+c f^2 x^{10}\right ) \, dx\\ &=\frac{1}{2} b e^2 x^2+\frac{1}{3} c e^2 x^3+\frac{1}{3} b e f x^6+\frac{2}{7} c e f x^7+\frac{1}{10} b f^2 x^{10}+\frac{1}{11} c f^2 x^{11}\\ \end{align*}

Mathematica [A]  time = 0.0025941, size = 65, normalized size = 1. \[ \frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10}+\frac{1}{3} c e^2 x^3+\frac{2}{7} c e f x^7+\frac{1}{11} c f^2 x^{11} \]

Antiderivative was successfully verified.

[In]

Integrate[(b*x + c*x^2)*(e + f*x^4)^2,x]

[Out]

(b*e^2*x^2)/2 + (c*e^2*x^3)/3 + (b*e*f*x^6)/3 + (2*c*e*f*x^7)/7 + (b*f^2*x^10)/10 + (c*f^2*x^11)/11

________________________________________________________________________________________

Maple [A]  time = 0.04, size = 54, normalized size = 0.8 \begin{align*}{\frac{b{e}^{2}{x}^{2}}{2}}+{\frac{c{e}^{2}{x}^{3}}{3}}+{\frac{bef{x}^{6}}{3}}+{\frac{2\,cef{x}^{7}}{7}}+{\frac{b{f}^{2}{x}^{10}}{10}}+{\frac{c{f}^{2}{x}^{11}}{11}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+b*x)*(f*x^4+e)^2,x)

[Out]

1/2*b*e^2*x^2+1/3*c*e^2*x^3+1/3*b*e*f*x^6+2/7*c*e*f*x^7+1/10*b*f^2*x^10+1/11*c*f^2*x^11

________________________________________________________________________________________

Maxima [A]  time = 1.01028, size = 72, normalized size = 1.11 \begin{align*} \frac{1}{11} \, c f^{2} x^{11} + \frac{1}{10} \, b f^{2} x^{10} + \frac{2}{7} \, c e f x^{7} + \frac{1}{3} \, b e f x^{6} + \frac{1}{3} \, c e^{2} x^{3} + \frac{1}{2} \, b e^{2} x^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)*(f*x^4+e)^2,x, algorithm="maxima")

[Out]

1/11*c*f^2*x^11 + 1/10*b*f^2*x^10 + 2/7*c*e*f*x^7 + 1/3*b*e*f*x^6 + 1/3*c*e^2*x^3 + 1/2*b*e^2*x^2

________________________________________________________________________________________

Fricas [A]  time = 1.08661, size = 134, normalized size = 2.06 \begin{align*} \frac{1}{11} x^{11} f^{2} c + \frac{1}{10} x^{10} f^{2} b + \frac{2}{7} x^{7} f e c + \frac{1}{3} x^{6} f e b + \frac{1}{3} x^{3} e^{2} c + \frac{1}{2} x^{2} e^{2} b \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)*(f*x^4+e)^2,x, algorithm="fricas")

[Out]

1/11*x^11*f^2*c + 1/10*x^10*f^2*b + 2/7*x^7*f*e*c + 1/3*x^6*f*e*b + 1/3*x^3*e^2*c + 1/2*x^2*e^2*b

________________________________________________________________________________________

Sympy [A]  time = 0.068121, size = 61, normalized size = 0.94 \begin{align*} \frac{b e^{2} x^{2}}{2} + \frac{b e f x^{6}}{3} + \frac{b f^{2} x^{10}}{10} + \frac{c e^{2} x^{3}}{3} + \frac{2 c e f x^{7}}{7} + \frac{c f^{2} x^{11}}{11} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+b*x)*(f*x**4+e)**2,x)

[Out]

b*e**2*x**2/2 + b*e*f*x**6/3 + b*f**2*x**10/10 + c*e**2*x**3/3 + 2*c*e*f*x**7/7 + c*f**2*x**11/11

________________________________________________________________________________________

Giac [A]  time = 1.0566, size = 72, normalized size = 1.11 \begin{align*} \frac{1}{11} \, c f^{2} x^{11} + \frac{1}{10} \, b f^{2} x^{10} + \frac{2}{7} \, c f x^{7} e + \frac{1}{3} \, b f x^{6} e + \frac{1}{3} \, c x^{3} e^{2} + \frac{1}{2} \, b x^{2} e^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)*(f*x^4+e)^2,x, algorithm="giac")

[Out]

1/11*c*f^2*x^11 + 1/10*b*f^2*x^10 + 2/7*c*f*x^7*e + 1/3*b*f*x^6*e + 1/3*c*x^3*e^2 + 1/2*b*x^2*e^2